<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.5/vue.min.js"></script>
</head>
<body>
    <div id="app">
        <!-- checobox中的单选 -->
        <!-- <label for="xieyi">
            <input type="checkbox" name="" id="xieyi" v-model="xieyi">同意协议
            <button :disabled="!xieyi">下一步</button>
        </label> -->
        <!-- <h2>您选择的是：{{!xieyi}}</h2> -->
        <!-- checkbox多选 -->
            <input type="checkbox" name="" id="" value="篮球" v-model="hobby">篮球
            <input type="checkbox" name="" id="" value="台球" v-model="hobby">台球
            <input type="checkbox" name="" id="" value="羽毛球" v-model="hobby">羽毛球
            <input type="checkbox" name="" id="" value="兵兵球" v-model="hobby">兵兵球 
            <h2>您选择的是：{{hobby}}</h2>
    </div>
    <script>
        const app = new Vue({
            el:'#app',
            data: {
                message:'hello world!',
                xieyi:true,
                hobby:[]
            }
        })
    </script>
</body>
</html>